﻿<%@ Page Title="" Language="C#" MasterPageFile="~/GetQuote.Master" AutoEventWireup="true" CodeBehind="ProductForm.aspx.cs" Inherits="GetQuote.Web.ProductForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function AddPrice() {
            var win = window.open("ProductPrice.aspx", "Price", "status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes", false);
            if (win == null) {
                alert("Please turning on pop up windows from this site!");
                return;
            }
            win.parentWindow = window;
            return false;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3>Add/Edit Product</h3>
    <table class="full-width">
        <tr>
            <td style="width:110px;">Product Name</td>
            <td>
                <input id="txtProductName" type="text" class="half-width clear-margin-bottom" />
            </td>
        </tr>
        <tr>
            <td>Manufacturer</td>
            <td>
                <select id="ddlManufactures" class="original">
                    <option>Hunter Douglas</option>
                    <option>Vista Products</option>
                    <option>Comfortex Window Fashions</option>
                    <option>Graber Blinds</option>
                    <option>Horizons Window Fashions</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>Category</td>
            <td>
                <select id="ddlCategories" class="original span3">
                    <option>Arches</option>
                    <option>Horizontal Blinds</option>
                    <option>Shades</option>
                    <option>Vertical Blinds</option>
                    <option>Shutters</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>Price</td>
            <td><a href="#" id="linkUpdatePrice" style="color:Blue; text-decoration:underline" onclick="return AddPrice();">Click to update Product Price</a></td>
        </tr>
        <tr>
            <td>Image</td>
            <td><img class="logo-manu-detail img-polaroid" alt="logo" src="Styles/Images/no-image.png" /></td>
        </tr>
        <tr>
            <td></td>
            <td><input id="uplImage" type="file" /></td>
        </tr>
        <tr>
            <td>Room Location</td>
            <td class="form-inline">
                <div class="half-width box-wrapper">
                    <asp:CheckBoxList ID="chkRoomLocation" runat="server" RepeatColumns="2" CssClass="original full-width">
                        <asp:ListItem>Bath</asp:ListItem>
                        <asp:ListItem>Bed</asp:ListItem>
                        <asp:ListItem>Family</asp:ListItem>
                        <asp:ListItem>Dining</asp:ListItem>
                        <asp:ListItem>Home Offices</asp:ListItem>
                        <asp:ListItem>Kitchen</asp:ListItem>
                        <asp:ListItem>Living</asp:ListItem>
                        <asp:ListItem>M.Bath</asp:ListItem>
                        <asp:ListItem>Breakfast</asp:ListItem>
                        <asp:ListItem>Sink</asp:ListItem>
                        <asp:ListItem>M.Bath</asp:ListItem>
                        <asp:ListItem>F.Bath</asp:ListItem>
                        <asp:ListItem>B.Bath</asp:ListItem>
                        <asp:ListItem>C.Bath</asp:ListItem>
                    </asp:CheckBoxList>
                </div>
            </td>
        </tr>
        <tr>
            <td>Description</td>
            <td>
                <textarea id="txtDescription" cols="20" rows="2" class="half-width" style="height:50px;"></textarea>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <button type="button" class="btn btn-primary">Save</button>
                <button type="button" class="btn" onclick="window.location.href='Products.aspx';">Cancel</button>
            </td>
        </tr>
    </table>
</asp:Content>
